# -*- coding: utf-8 -*-
from sqlalchemy import Column, String, Integer, Text, Binary, Boolean, DateTime, Enum, Float, BigInteger
from adminApp.extensions import db
from .base import BaseModel


class WarnItem(BaseModel, db.Model):
    '''警报项目'''
    title = Column(String(128))     # 标题
    warn_txt = Column(Text)         # 警报内容
    status = Column(Boolean, default=False)     # 处理状态
    # 备注
    remark = Column(Text)